var render = function($) {
  $("#pureHtml-container").html("Hello, render with jQuery");
  return Promise.resolve();
};

(function(global) {
  global["pureHtml"] = {
    bootstrap: function() {
      console.log("pureHtml bootstrap");
      return Promise.resolve();
    },
    mount: function() {
      console.log("pureHtml mount");
      return render(window.$);
    },
    unmount: function() {
      console.log("pureHtml unmount");
      return Promise.resolve();
    }
  };
})(window);
